Get Task
This request lets you retrieve the status of the current task for those endpoints whose response returns the Task Id:
■ | Upload Numbers to Customer |
■ | Release Numbers from Customer |
■ | Create Customer from Lead with Tenant Id |
■ | Upgrade Operator Connect Customer License |
You can see examples for task requests under the descriptions for each of the above requests.
URL
{{baseUrl}}/<tenantui>/api/v2/task/{taskid}
HTTP Method
GET
Request Parameters
Parameter |
Type |
Description |
---|---|---|
taskid |
String($uuid) (path) |
The Job id of the task. |
HTTP Responses
■ | 200 OK |
Parameter |
Type |
Description |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
totalNumbersCount |
integer |
The number of phone numbers added or removed. |
|||||||||
id |
string |
Task id |
|||||||||
status |
string |
Task status is one of the following:
|
|||||||||
details |
string |
See specific examples for the relevant requests:
|
|||||||||
ExecutionMessages |
List array |
List array including the following:
|
|||||||||
level |
String |
One of the following values:
|
|||||||||
message |
string |
See specific examples for the relevant requests:
|
|||||||||
outputData |
List array |
Operator Connect Patch Upgrade: "UmpCustomerGuid" |
|||||||||
outputData |
List array |
Operator Connect Number Upload: "CreateTime" "CompleteTime"; "OcUploadNumberResult"; "NumbersUploaded"; "WorkflowVersion": 3 |
|||||||||
outputData |
List array |
Operator Connect Number release: "MsReleaseJobId; "MsTenantId"; "MsReleaseJobStatus; "UmpReleaseJobStatus". |
|||||||||
MsReleaseJobId |
string |
Task Job Id on Microsoft Operator Connect platform. |
|||||||||
MsTenantId |
string |
Azure tenant customer tenant Id |
|||||||||
MsReleaseJobStatus |
string |
Microsoft Task Id |
|||||||||
UmpReleaseJobStatus |
string |
Live Platform Release Job status. One of the following:
|
|||||||||
MsReleaseJobCreatedAt |
string($date-time) |
Date and time that the job was created on the Microsoft Operator Connect platform. |
|||||||||
MsReleaseJobCreatedBy |
string |
Microsoft Tenant App Id of the Live Cloud REST API Enterprise application (see Authenticating Connection Using Postman). |
|||||||||
PendingIntervention |
boolean |
Indicates if there is an active Live Cloud
|
Example Request
{{baseUrl}}/api/v2/task/wst_e54bbafa-d120-4774-bc6f-acfd2eff0d18
Example Response
{
"id": "wst_e54bbafa-d120-4774-bc6f-acfd2eff0d18",
"status": "CompletedSuccess",
"details": [
"Converted"
],
"executionMessages": [
{
"level": "Information",
"message": "SBC sbc-onboarding done for site SIPTest4."
},
{
"level": "Information",
"message": "Site created in Ovoc"
}
],
"outputData": {
"umpCustomerGuid": "993186ab-3711-4579-80d1-e2d18c6ec86c"
},
"createTime": "0001-01-01T00:00:00"
}